
package com.github.ybq.parallaxviewpager.Interpolator;

import ohos.agp.components.AttrSet;
import ohos.app.Context;

/**
 * Linear interpolator
 */
public class LinearInterpolator extends BaseInterpolator {

    /**
     * Linear interpolator
     */
    public LinearInterpolator() {
    }

    /**
     * Linear interpolator
     *
     * @param context context
     * @param attrs   attrs
     */
    public LinearInterpolator(Context context, AttrSet attrs) {
    }

    /**
     * Get interpolation float
     *
     * @param input input
     * @return the float
     */
    public float getInterpolation(float input) {
        return input;
    }


}
